package com.ma.test

import android.os.Bundle
import android.widget.TextView
import androidx.activity.ComponentActivity


class SecondActivity : ComponentActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        setContentView(R.layout.activity_second)

        val intent =getIntent()

        val textView = findViewById<TextView>(R.id.textView)

        textView.text = intent.getStringExtra(FIRST_MSG)
    }
}